By counting the entities in Dao<TEntity, TEntityCollection, TDataContext, TFilteringCriteria, TOrderingCriteria, TPagingCriteria, TCarboniteController, TTransaction, Entities, this inversion control method handles the request to count all TEntity entities in the underlying Entity Framework data context.

Namespace: Keystone.Carbonite.Entity
Assembly: Keystone.Carbonite.Entity (in Keystone.Carbonite.Entity.dll)

protected override int OnCount()
This language is not supported or no code example is available.

Return Value

The number of entities in the underlying data store.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono